<template>
  <div class="app-container">

    <!-- 子组件空位 -->
    <keep-alive include="Home">
      <router-view></router-view>
    </keep-alive>

    <!-- 底部 -->
    <van-tabbar route placeholder>
      <van-tabbar-item replace to="/home" icon="home-o">主页</van-tabbar-item>
      <van-tabbar-item replace to="/user" icon="user-o">用户</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  name: 'app',
  data() {
    return {}
  },
  methods: {}
}
</script>

<style lang='less' scoped>
</style>
